package cn.itacm.pattern.creational.factory;


public class ProductAFactory extends Factory {

	@Override
	public IProduct getProduct() {
		return new ProductA();
	}

	/**
	 * @uml.property  name="productB"
	 * @uml.associationEnd  inverse="productAFactory:creational.factory.ProductB"
	 */
	private ProductB productB;

	/**
	 * Getter of the property <tt>productB</tt>
	 * @return   Returns the productB.
	 * @uml.property  name="productB"
	 */
	public ProductB getProductB() {
		return productB;
	}

	/**
	 * Setter of the property <tt>productB</tt>
	 * @param productB   The productB to set.
	 * @uml.property  name="productB"
	 */
	public void setProductB(ProductB productB) {
		this.productB = productB;
	}

}
